package com.bluesea.report.entity;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * 客户明细表
 * 实体类
 * @ClassName: CustomerDetail
 * @author 李爽
 */
public class CustomerDetail implements Serializable {

	private static final long serialVersionUID = 7924023414557887408L;
	private Integer id; // ID
	private String ceoName; // CEO姓名
	private String ceoEname; // 英文CEO名
	private Integer ceoSex; // CEO性别
	private String ceoNation; // CEO民族
	private Date ceoBirth; // CEO生日
	private String investor; // 投资方
	private String investmentTotal; // 投资总额
	private String registCapital; // 注册资本
	private String registCapitalDesc; // 注册资金描述
	private String entrustCompany; // 委托公司
	private Date establishDate; // 成立日期
	private Date businessStartDate; // 经营开始日期
	private Date businessEndDate; // 经营结束日期
	private String businessScope; // 营业范围
	private String customerProfile; // 客户情况简介
	private String representOfficeCode; // 代表处序号
	private Integer representativeNum; // 代表处代表人数
	private Integer representEmployeeNum; // 代表处雇员人数
	private String chinaContactUnit; // 在华联系单位
	private Integer oversersInstitutionNum; // 海外机构数
	private Double realizeCapital; // 实受资本
	private Integer isBadRecord; // 是否有不良记录
	private String organizationCode; // 组织机构代码
	private String depositBank; // 开户行（英文）
	private Date applyResidenceDate; // 申请驻在期限
	private String investmentTotalDesc; // 投资总额描述
	private String specialExplanation; // 特别说明
	private String operator; // 操作人
	private Timestamp createTime; // 创建时间
	private Timestamp modifyTime; // 修改时间
    private Integer isInvalid;//是否作废
	
	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getCeoName() {
		return ceoName;
	}


	public void setCeoName(String ceoName) {
		this.ceoName = ceoName;
	}


	public String getCeoEname() {
		return ceoEname;
	}


	public void setCeoEname(String ceoEname) {
		this.ceoEname = ceoEname;
	}


	public Integer getCeoSex() {
		return ceoSex;
	}


	public void setCeoSex(Integer ceoSex) {
		this.ceoSex = ceoSex;
	}


	public String getCeoNation() {
		return ceoNation;
	}


	public void setCeoNation(String ceoNation) {
		this.ceoNation = ceoNation;
	}


	public Date getCeoBirth() {
		return ceoBirth;
	}


	public void setCeoBirth(Date ceoBirth) {
		this.ceoBirth = ceoBirth;
	}


	public String getInvestor() {
		return investor;
	}


	public void setInvestor(String investor) {
		this.investor = investor;
	}


	public String getInvestmentTotal() {
		return investmentTotal;
	}


	public void setInvestmentTotal(String investmentTotal) {
		this.investmentTotal = investmentTotal;
	}


	public String getRegistCapital() {
		return registCapital;
	}


	public void setRegistCapital(String registCapital) {
		this.registCapital = registCapital;
	}


	public String getRegistCapitalDesc() {
		return registCapitalDesc;
	}


	public void setRegistCapitalDesc(String registCapitalDesc) {
		this.registCapitalDesc = registCapitalDesc;
	}


	public String getEntrustCompany() {
		return entrustCompany;
	}


	public void setEntrustCompany(String entrustCompany) {
		this.entrustCompany = entrustCompany;
	}


	public Date getEstablishDate() {
		return establishDate;
	}


	public void setEstablishDate(Date establishDate) {
		this.establishDate = establishDate;
	}


	public Date getBusinessStartDate() {
		return businessStartDate;
	}


	public void setBusinessStartDate(Date businessStartDate) {
		this.businessStartDate = businessStartDate;
	}


	public Date getBusinessEndDate() {
		return businessEndDate;
	}


	public void setBusinessEndDate(Date businessEndDate) {
		this.businessEndDate = businessEndDate;
	}


	public String getBusinessScope() {
		return businessScope;
	}


	public void setBusinessScope(String businessScope) {
		this.businessScope = businessScope;
	}


	public String getCustomerProfile() {
		return customerProfile;
	}


	public void setCustomerProfile(String customerProfile) {
		this.customerProfile = customerProfile;
	}


	public String getRepresentOfficeCode() {
		return representOfficeCode;
	}


	public void setRepresentOfficeCode(String representOfficeCode) {
		this.representOfficeCode = representOfficeCode;
	}


	public Integer getRepresentativeNum() {
		return representativeNum;
	}


	public void setRepresentativeNum(Integer representativeNum) {
		this.representativeNum = representativeNum;
	}


	public Integer getRepresentEmployeeNum() {
		return representEmployeeNum;
	}


	public void setRepresentEmployeeNum(Integer representEmployeeNum) {
		this.representEmployeeNum = representEmployeeNum;
	}


	public String getChinaContactUnit() {
		return chinaContactUnit;
	}


	public void setChinaContactUnit(String chinaContactUnit) {
		this.chinaContactUnit = chinaContactUnit;
	}


	public Integer getOversersInstitutionNum() {
		return oversersInstitutionNum;
	}


	public void setOversersInstitutionNum(Integer oversersInstitutionNum) {
		this.oversersInstitutionNum = oversersInstitutionNum;
	}


	public Double getRealizeCapital() {
		return realizeCapital;
	}


	public void setRealizeCapital(Double realizeCapital) {
		this.realizeCapital = realizeCapital;
	}


	public Integer getIsBadRecord() {
		return isBadRecord;
	}


	public void setIsBadRecord(Integer isBadRecord) {
		this.isBadRecord = isBadRecord;
	}


	public String getOrganizationCode() {
		return organizationCode;
	}


	public void setOrganizationCode(String organizationCode) {
		this.organizationCode = organizationCode;
	}


	public String getDepositBank() {
		return depositBank;
	}


	public void setDepositBank(String depositBank) {
		this.depositBank = depositBank;
	}


	public Date getApplyResidenceDate() {
		return applyResidenceDate;
	}


	public void setApplyResidenceDate(Date applyResidenceDate) {
		this.applyResidenceDate = applyResidenceDate;
	}


	public String getInvestmentTotalDesc() {
		return investmentTotalDesc;
	}


	public void setInvestmentTotalDesc(String investmentTotalDesc) {
		this.investmentTotalDesc = investmentTotalDesc;
	}


	public String getSpecialExplanation() {
		return specialExplanation;
	}


	public void setSpecialExplanation(String specialExplanation) {
		this.specialExplanation = specialExplanation;
	}


	public String getOperator() {
		return operator;
	}


	public void setOperator(String operator) {
		this.operator = operator;
	}


	public Timestamp getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}


	public Timestamp getModifyTime() {
		return modifyTime;
	}


	public void setModifyTime(Timestamp modifyTime) {
		this.modifyTime = modifyTime;
	}


	public Integer getIsInvalid() {
		return isInvalid;
	}


	public void setIsInvalid(Integer isInvalid) {
		this.isInvalid = isInvalid;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	/**
	 * toString方法
	 */
	@Override
	public String toString() {
		return "CustomerDetail [id=" + id + ", ceoName=" + ceoName + ", ceoEname=" + ceoEname + ", ceoSex=" + ceoSex
				+ ", ceoNation=" + ceoNation + ", ceoBirth=" + ceoBirth + ", investor=" + investor
				+ ", investmentTotal=" + investmentTotal + ", registCapital=" + registCapital + ", registCapitalDesc="
				+ registCapitalDesc + ", entrustCompany=" + entrustCompany + ", establishDate=" + establishDate
				+ ", businessStartDate=" + businessStartDate + ", businessEndDate=" + businessEndDate
				+ ", businessScope=" + businessScope + ", customerProfile=" + customerProfile + ", representOfficeCode="
				+ representOfficeCode + ", representativeNum=" + representativeNum + ", representEmployeeNum="
				+ representEmployeeNum + ", chinaContactUnit=" + chinaContactUnit + ", oversersInstitutionNum="
				+ oversersInstitutionNum + ", realizeCapital=" + realizeCapital + ", isBadRecord=" + isBadRecord
				+ ", organizationCode=" + organizationCode + ", depositBank=" + depositBank + ", applyResidenceDate="
				+ applyResidenceDate + ", investmentTotalDesc=" + investmentTotalDesc + ", specialExplanation="
				+ specialExplanation + ", operator=" + operator + ", createTime=" + createTime + ", modifyTime="
				+ modifyTime + ", isInvalid=" + isInvalid + "]";
	}


	
	/**
	 * 无参构造
	 * @author 李爽
	 */
	public CustomerDetail() {

	}

	/**
	 * 有参构造
	 * @param id
	 * @param ceoName
	 * @param ceoEname
	 * @param ceoSex
	 * @param ceoNation
	 * @param ceoBirth
	 * @param investor
	 * @param investmentTotal
	 * @param registCapital
	 * @param registCapitalDesc
	 * @param entrustCompany
	 * @param establishDate
	 * @param businessStartDate
	 * @param businessEndDate
	 * @param businessScope
	 * @param customerProfile
	 * @param representOfficeCode
	 * @param representativeNum
	 * @param representEmployeeNum
	 * @param chinaContactUnit
	 * @param oversersInstitutionNum
	 * @param realizeCapital
	 * @param isBadRecord
	 * @param organizationCode
	 * @param depositBank
	 * @param applyResidenceDate
	 * @param investmentTotalDesc
	 * @param specialExplanation
	 * @param operator
	 * @param createTime
	 * @param modifyTime
	 * @param isInvalid
	 * @author 李爽
	 * @date 2017年8月25日 下午5:59:13
	 * @version V1.0
	 */

	public CustomerDetail(Integer id, String ceoName, String ceoEname, Integer ceoSex, String ceoNation, Date ceoBirth,
			String investor, String investmentTotal, String registCapital, String registCapitalDesc,
			String entrustCompany, Date establishDate, Date businessStartDate, Date businessEndDate,
			String businessScope, String customerProfile, String representOfficeCode, Integer representativeNum,
			Integer representEmployeeNum, String chinaContactUnit, Integer oversersInstitutionNum,
			Double realizeCapital, Integer isBadRecord, String organizationCode, String depositBank,
			Date applyResidenceDate, String investmentTotalDesc, String specialExplanation, String operator,
			Timestamp createTime, Timestamp modifyTime, Integer isInvalid) {
		super();
		this.id = id;
		this.ceoName = ceoName;
		this.ceoEname = ceoEname;
		this.ceoSex = ceoSex;
		this.ceoNation = ceoNation;
		this.ceoBirth = ceoBirth;
		this.investor = investor;
		this.investmentTotal = investmentTotal;
		this.registCapital = registCapital;
		this.registCapitalDesc = registCapitalDesc;
		this.entrustCompany = entrustCompany;
		this.establishDate = establishDate;
		this.businessStartDate = businessStartDate;
		this.businessEndDate = businessEndDate;
		this.businessScope = businessScope;
		this.customerProfile = customerProfile;
		this.representOfficeCode = representOfficeCode;
		this.representativeNum = representativeNum;
		this.representEmployeeNum = representEmployeeNum;
		this.chinaContactUnit = chinaContactUnit;
		this.oversersInstitutionNum = oversersInstitutionNum;
		this.realizeCapital = realizeCapital;
		this.isBadRecord = isBadRecord;
		this.organizationCode = organizationCode;
		this.depositBank = depositBank;
		this.applyResidenceDate = applyResidenceDate;
		this.investmentTotalDesc = investmentTotalDesc;
		this.specialExplanation = specialExplanation;
		this.operator = operator;
		this.createTime = createTime;
		this.modifyTime = modifyTime;
		this.isInvalid = isInvalid;
		
	}


	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}

	
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		CustomerDetail other = (CustomerDetail) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
}